﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace SIARWS.Classes
{
    public class PedidoBean
    {
        public int Id { get; set; }
        public int Id_Func { get; set; }
        public int Id_Cliente { get; set; }
        public int Num_Mesa { get; set; }
        public int Id_Bebida { get; set; }
        public int Id_Prato { get; set; }
        public int Qtd { get; set; }
        public string Status { get; set; }

        public PedidoBean() { }

        public PedidoBean(int id, int id_func, int id_cliente, int num_mesa, int id_bebida,
            int id_prato, int qtd, string status)
        {
            this.Id = id;
            this.Id_Func = id_func;
            this.Id_Cliente = id_cliente;
            this.Num_Mesa = num_mesa;
            this.Id_Bebida = id_bebida;
            this.Id_Prato = id_prato;
            this.Qtd = qtd;
            this.Status = status;
        }
        public PedidoBean(int id, int id_func, int id_cliente, int id_bebida,
            int id_prato, int qtd, string status,bool ok)
        {
            this.Id = id;
            this.Id_Func = id_func;
            this.Id_Cliente = id_cliente;
            //this.Num_Mesa = num_mesa;
            this.Id_Bebida = id_bebida;
            this.Id_Prato = id_prato;
            this.Qtd = qtd;
            this.Status = status;
        }
        public PedidoBean(int id, int id_func,  int num_mesa, int id_bebida,
            int id_prato, int qtd, string status)
        {
            this.Id = id;
            this.Id_Func = id_func;
            //this.Id_Cliente = id_cliente;
            this.Num_Mesa = num_mesa;
            this.Id_Bebida = id_bebida;
            this.Id_Prato = id_prato;
            this.Qtd = qtd;
            this.Status = status;
        }



        public override string ToString()
        {
            return Status.ToString();
        }
    }
}
